<template>
  <starPage :config="pageConfig" v-debug="{ me, vms, models, dataSet }">
    <starTabs :config="tabConfig" @clickTab="changeTabs">
      <waitApprovalTable
        slot="0"
        :data="dataSet.waitApprovalTableData"
      ></waitApprovalTable>
      <completeApprovalTable
        slot="1"
        :data="dataSet.completeApprovalTableData"
      ></completeApprovalTable>
    </starTabs>
    <template #others>
      <approvalModal :dataSet="dataSet"></approvalModal>
    </template>
  </starPage>
</template>

<script>
import ancMixin from "./ancMixin";
export default {
  name: "",
  mixins: [ancMixin],
  data() {
    return {
      tabName: "待审批",
    };
  },
  props: {},
  watch: {},
  computed: {
    pageConfig() {
      return {
        title: {
          "en-US": "",
          "zh-CN": "审批管理",
        }[this.G_Locale],
      };
    },
    tabConfig() {
      return {
        name: "record",
        style: { height: "100%" },
        tabs: [{ label: "待审批" }, { label: "已审批" }],
      };
    },
  },
  created() {},
  mounted() {},
  methods: {},
};
</script>
<style scoped></style>
